1 # C++ Windowed Executable Makefile autogenerated by premake
2 # Don't edit this file! Instead edit `premake.lua` then rerun `make`
8 # if multiple archs are defined turn off automated dependency generation
9 DEPFLAGS
:= $(if
$(word 2, $(TARGET_ARCH
)), , -MMD
)
11 ifeq ($(CONFIG
),Debug
)
14 OBJDIR
:= build
/intermediate
/Debug
16 CPPFLAGS
:= $(DEPFLAGS
) -D
"LINUX=1" -D
"DEBUG=1" -D
"_DEBUG=1" -I
"/usr/include" -I
"/usr/include/freetype2"
17 CFLAGS
+= $(CPPFLAGS
) $(TARGET_ARCH
) -g
-march
=native
-D_DEBUG
-ggdb
19 LDFLAGS
+= -L
$(BINDIR
) -L
$(LIBDIR
) -mwindows
-L
"/usr/X11R6/lib/" -L
"../../../../bin" -lfreetype
-lpthread
-lX11
-lGL
-lGLU
-lXinerama
-lasound
21 RESFLAGS
:= -D
"LINUX=1" -D
"DEBUG=1" -D
"_DEBUG=1" -I
"/usr/include" -I
"/usr/include/freetype2"
23 BLDCMD
= $(CXX
) -o
$(OUTDIR
)/$(TARGET
) $(OBJECTS
) $(LDFLAGS
) $(RESOURCES
) $(TARGET_ARCH
)
26 ifeq ($(CONFIG
),Release
)
29 OBJDIR
:= build
/intermediate
/Release
31 CPPFLAGS
:= $(DEPFLAGS
) -D
"LINUX=1" -D
"NDEBUG=1" -I
"/usr/include" -I
"/usr/include/freetype2"
32 CFLAGS
+= $(CPPFLAGS
) $(TARGET_ARCH
) -O2
-march
=native
34 LDFLAGS
+= -L
$(BINDIR
) -L
$(LIBDIR
) -mwindows
-s
-L
"/usr/X11R6/lib/" -L
"../../../../bin" -lfreetype
-lpthread
-lX11
-lGL
-lGLU
-lXinerama
-lasound
36 RESFLAGS
:= -D
"LINUX=1" -D
"NDEBUG=1" -I
"/usr/include" -I
"/usr/include/freetype2"
38 BLDCMD
= $(CXX
) -o
$(OUTDIR
)/$(TARGET
) $(OBJECTS
) $(LDFLAGS
) $(RESOURCES
) $(TARGET_ARCH
)
42 $(OBJDIR
)/BinaryData.o \
43 $(OBJDIR
)/juce_LibrarySource.o \
44 $(OBJDIR
)/jucer_Main.o \
45 $(OBJDIR
)/jucer_MainWindow.o \
46 $(OBJDIR
)/jucer_PrefsPanel.o \
47 $(OBJDIR
)/jucer_PaintRoutinePanel.o \
48 $(OBJDIR
)/jucer_SnapGridPainter.o \
49 $(OBJDIR
)/jucer_TestComponent.o \
50 $(OBJDIR
)/jucer_EditingPanelBase.o \
51 $(OBJDIR
)/jucer_ResourceEditorPanel.o \
52 $(OBJDIR
)/jucer_ComponentOverlayComponent.o \
53 $(OBJDIR
)/jucer_JucerDocumentHolder.o \
54 $(OBJDIR
)/jucer_ComponentLayoutPanel.o \
55 $(OBJDIR
)/jucer_ComponentLayoutEditor.o \
56 $(OBJDIR
)/jucer_PaintRoutineEditor.o \
57 $(OBJDIR
)/jucer_StoredSettings.o \
58 $(OBJDIR
)/jucer_UtilityFunctions.o \
59 $(OBJDIR
)/jucer_FilePropertyComponent.o \
60 $(OBJDIR
)/jucer_FontPropertyComponent.o \
61 $(OBJDIR
)/jucer_ObjectTypes.o \
62 $(OBJDIR
)/jucer_ComponentLayout.o \
63 $(OBJDIR
)/jucer_JucerDocument.o \
64 $(OBJDIR
)/jucer_BinaryResources.o \
65 $(OBJDIR
)/jucer_GeneratedCode.o \
66 $(OBJDIR
)/jucer_PaintRoutine.o \
67 $(OBJDIR
)/jucer_ComponentTypeHandler.o \
68 $(OBJDIR
)/jucer_ButtonDocument.o \
69 $(OBJDIR
)/jucer_ComponentDocument.o \
70 $(OBJDIR
)/jucer_PaintElement.o \
71 $(OBJDIR
)/jucer_ColouredElement.o \
72 $(OBJDIR
)/jucer_StrokeType.o \
73 $(OBJDIR
)/jucer_FillType.o \
74 $(OBJDIR
)/jucer_PaintElementPath.o \
77 CMD
:= $(subst \
,\\,$(ComSpec
)$(COMSPEC
))
81 ifeq (/bin
,$(findstring /bin
,$(SHELL
)))
84 ifeq ($(MKDIR_TYPE
),posix
)
85 CMD_MKBINDIR
:= mkdir
-p
$(BINDIR
)
86 CMD_MKLIBDIR
:= mkdir
-p
$(LIBDIR
)
87 CMD_MKOUTDIR
:= mkdir
-p
$(OUTDIR
)
88 CMD_MKOBJDIR
:= mkdir
-p
$(OBJDIR
)
90 CMD_MKBINDIR
:= $(CMD
) /c if not exist
$(subst /,\\,$(BINDIR
)) mkdir
$(subst /,\\,$(BINDIR
))
91 CMD_MKLIBDIR
:= $(CMD
) /c if not exist
$(subst /,\\,$(LIBDIR
)) mkdir
$(subst /,\\,$(LIBDIR
))
92 CMD_MKOUTDIR
:= $(CMD
) /c if not exist
$(subst /,\\,$(OUTDIR
)) mkdir
$(subst /,\\,$(OUTDIR
))
93 CMD_MKOBJDIR
:= $(CMD
) /c if not exist
$(subst /,\\,$(OBJDIR
)) mkdir
$(subst /,\\,$(OBJDIR
))
98 $(OUTDIR
)/$(TARGET
): $(OBJECTS
) $(LDDEPS
) $(RESOURCES
)
107 ifeq ($(MKDIR_TYPE
),posix
)
108 -@
rm -f
$(OUTDIR
)/$(TARGET
)
111 -@if exist
$(subst /,\
,$(OUTDIR
)/$(TARGET
)) del
/q
$(subst /,\
,$(OUTDIR
)/$(TARGET
))
112 -@if exist
$(subst /,\
,$(OBJDIR
)) del
/q
$(subst /,\
,$(OBJDIR
))
113 -@if exist
$(subst /,\
,$(OBJDIR
)) rmdir
/s
/q
$(subst /,\
,$(OBJDIR
))
116 $(OBJDIR
)/BinaryData.o
: ..
/..
/src
/BinaryData.
cpp
119 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
121 $(OBJDIR
)/juce_LibrarySource.o
: ..
/..
/src
/juce_LibrarySource.
cpp
124 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
126 $(OBJDIR
)/jucer_Main.o
: ..
/..
/src
/jucer_Main.
cpp
129 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
131 $(OBJDIR
)/jucer_MainWindow.o
: ..
/..
/src
/ui
/jucer_MainWindow.
cpp
134 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
136 $(OBJDIR
)/jucer_PrefsPanel.o
: ..
/..
/src
/ui
/jucer_PrefsPanel.
cpp
139 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
141 $(OBJDIR
)/jucer_PaintRoutinePanel.o
: ..
/..
/src
/ui
/jucer_PaintRoutinePanel.
cpp
144 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
146 $(OBJDIR
)/jucer_SnapGridPainter.o
: ..
/..
/src
/ui
/jucer_SnapGridPainter.
cpp
149 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
151 $(OBJDIR
)/jucer_TestComponent.o
: ..
/..
/src
/ui
/jucer_TestComponent.
cpp
154 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
156 $(OBJDIR
)/jucer_EditingPanelBase.o
: ..
/..
/src
/ui
/jucer_EditingPanelBase.
cpp
159 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
161 $(OBJDIR
)/jucer_ResourceEditorPanel.o
: ..
/..
/src
/ui
/jucer_ResourceEditorPanel.
cpp
164 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
166 $(OBJDIR
)/jucer_ComponentOverlayComponent.o
: ..
/..
/src
/ui
/jucer_ComponentOverlayComponent.
cpp
169 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
171 $(OBJDIR
)/jucer_JucerDocumentHolder.o
: ..
/..
/src
/ui
/jucer_JucerDocumentHolder.
cpp
174 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
176 $(OBJDIR
)/jucer_ComponentLayoutPanel.o
: ..
/..
/src
/ui
/jucer_ComponentLayoutPanel.
cpp
179 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
181 $(OBJDIR
)/jucer_ComponentLayoutEditor.o
: ..
/..
/src
/ui
/jucer_ComponentLayoutEditor.
cpp
184 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
186 $(OBJDIR
)/jucer_PaintRoutineEditor.o
: ..
/..
/src
/ui
/jucer_PaintRoutineEditor.
cpp
189 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
191 $(OBJDIR
)/jucer_StoredSettings.o
: ..
/..
/src
/utility
/jucer_StoredSettings.
cpp
194 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
196 $(OBJDIR
)/jucer_UtilityFunctions.o
: ..
/..
/src
/utility
/jucer_UtilityFunctions.
cpp
199 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
201 $(OBJDIR
)/jucer_FilePropertyComponent.o
: ..
/..
/src
/properties
/jucer_FilePropertyComponent.
cpp
204 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
206 $(OBJDIR
)/jucer_FontPropertyComponent.o
: ..
/..
/src
/properties
/jucer_FontPropertyComponent.
cpp
209 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
211 $(OBJDIR
)/jucer_ObjectTypes.o
: ..
/..
/src
/model
/jucer_ObjectTypes.
cpp
214 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
216 $(OBJDIR
)/jucer_ComponentLayout.o
: ..
/..
/src
/model
/jucer_ComponentLayout.
cpp
219 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
221 $(OBJDIR
)/jucer_JucerDocument.o
: ..
/..
/src
/model
/jucer_JucerDocument.
cpp
224 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
226 $(OBJDIR
)/jucer_BinaryResources.o
: ..
/..
/src
/model
/jucer_BinaryResources.
cpp
229 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
231 $(OBJDIR
)/jucer_GeneratedCode.o
: ..
/..
/src
/model
/jucer_GeneratedCode.
cpp
234 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
236 $(OBJDIR
)/jucer_PaintRoutine.o
: ..
/..
/src
/model
/jucer_PaintRoutine.
cpp
239 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
241 $(OBJDIR
)/jucer_ComponentTypeHandler.o
: ..
/..
/src
/model
/components
/jucer_ComponentTypeHandler.
cpp
244 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
246 $(OBJDIR
)/jucer_ButtonDocument.o
: ..
/..
/src
/model
/documents
/jucer_ButtonDocument.
cpp
249 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
251 $(OBJDIR
)/jucer_ComponentDocument.o
: ..
/..
/src
/model
/documents
/jucer_ComponentDocument.
cpp
254 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
256 $(OBJDIR
)/jucer_PaintElement.o
: ..
/..
/src
/model
/paintelements
/jucer_PaintElement.
cpp
259 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
261 $(OBJDIR
)/jucer_ColouredElement.o
: ..
/..
/src
/model
/paintelements
/jucer_ColouredElement.
cpp
264 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
266 $(OBJDIR
)/jucer_StrokeType.o
: ..
/..
/src
/model
/paintelements
/jucer_StrokeType.
cpp
269 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
271 $(OBJDIR
)/jucer_FillType.o
: ..
/..
/src
/model
/paintelements
/jucer_FillType.
cpp
274 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
276 $(OBJDIR
)/jucer_PaintElementPath.o
: ..
/..
/src
/model
/paintelements
/jucer_PaintElementPath.
cpp
279 @
$(CXX
) $(CXXFLAGS
) -o
"$@" -c
"$<"
281 -include $(OBJECTS
:%.o
=%.d
)